'use strict'
function chekeLogin(){
    var start1=document.getElementById("div_start1");
    var start2=document.getElementById("div_start2");
    var start3=document.getElementById("div_start3");
    start1.style.transform="rotate(360deg)";
    start1.style.transition="transform 1.5s";
    start1.style.webkitTransition="transform 1.5s";
    
    start2.style.transform="rotate(-360deg)";
    start2.style.transition="transform 1.5s";
    start2.style.webkitTransition="transform 1.5s";   
    
    start1.addEventListener("webkitTransitionEnd",function(){
        start1.style.display="none";
        var v1=document.getElementById("div_validation-go");
        v1.style.display="block";
    });
}
var count=0;
function checkWallpaper(){
    var icon1=document.getElementById("icon-sus1");
    var icon2=document.getElementById("icon-sus2");
    count++;
    var netbox=document.getElementById("div_NetMonitor");
    if(count%2!=0){
    icon1.style.display="none";
   icon2.style.display="block";
    netbox.style.marginLeft="0px";
    netbox.style.transition="margin-left 1s";
    netbox.style.webkitTransition="margin-left 1s";
    }
    else{
    icon2.style.display="none";
   icon1.style.display="block";
    netbox.style.marginLeft="-350px";
    netbox.style.transition="margin-left 1s";
    netbox.style.webkitTransition="margin-left 1s";
    }
    
}
function checkNet1(){
    document.body.style.backgroundImage="url(images/timg2.jpg)";
}
function checkNet2(){
    document.body.style.backgroundImage="url(images/timg3.jpg)";
}
function checkNet3(){
    document.body.style.backgroundImage="url(images/timg4.jpg)";
}
function checkNet4(){
    document.body.style.backgroundImage="url(images/timg5.jpg)";
}
